PXC Documentation

PXC Home

Area

1.18.0

Generate area data.



Node Data

ValuesArray

Display name

Area

Internal name

Node_Area

Inheritances

node
node_processor
node_area

Inputs

node_area

vec2

Position

vec2

Span

enum

Shape

enum

Type

Outputs

node_area

float

Area

Returns area data. Area data is simply a 5 dimensional vector that represents 2d bounding box. Each element of the vector represents the following:


  1. X position of the middle point of the area.
  2. Y position of the middle point of the area.
  3. Half width of the area.
  4. Half height of the area.
  5. Shape of the area (0: Rectangle, 1: Ellipse).

This node allow you to create an area by combining vec2 Position, vec2 Span and integer Shape inputs.